<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head th:insert="app :: appheader"></head>
<link rel="stylesheet" href="/css/blog.css">

<body>
<div class="page">
    <!--引用公共的页面头部-->
    <div class="page-header" th:include="app :: pageheader"></div>
    <div class="page-content" >
        <div class="article">
            <p class="title" th:text="${blog.getTitle()}"></p>
            <p class="info">
                <span>发布于 </span>
                <span th:text="${#dates.format(blog.getUpdateTime(), 'yyyy年MM月dd日')}"></span>
            </p>
            <p class="content" th:text="${blog.getContent()}"></p>
        </div>
    </div>
</div>

</body>

</html>